﻿// Decompiled with JetBrains decompiler
// Type: Commom.Util.Common
// Assembly: MT5Trade, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: 8045A2CB-DBD6-41AD-8804-F98CAC1BDC8D
// Assembly location: C:\projects\trade\trade_tool\trade0812\MT5Trade.dll

using System;

#nullable enable
namespace Commom.Util;

public static class Common
{
  public static Type GetType<T>() => Common.GetType(typeof (T));

  public static Type GetType(Type type)
  {
    Type underlyingType = Nullable.GetUnderlyingType(type);
    return (object) underlyingType != null ? underlyingType : type;
  }

  public static string Line => Environment.NewLine;
}
